<?php
$moduleName   = $invokeParams['moduleName'];
$formDialogId = WacModuleHelper::getFormDialogId($invokeParams['moduleName']);
$formId       = WacModuleHelper::getFormId($invokeParams['moduleName']);
echo "<script type=\"text/javascript\" src=\"/js/backend/{$invokeParams['moduleName']}/".WacControlTableType::$moduleForm.".js\">";
echo "</script>";
echo "<div id=\"".$formDialogId."\" class=\"ui-widget\" style=\"display: none\" >\n\n";

?>
<!-- form, begin-->
<form action="#" name="<?php echo $formId;?>" id="<?php echo $formId;?>" method="post" class="wacFormA">
    <div class="wacFormFirstCol">
        <h3>
            <?php
            echo $invokeParams['caption'];
            ?>
        </h3>
        <div class="wacFormContentA">
            <div class="wacFormRow">
                <div class="wacFormItemLeft ">编号</div>
                <div class="wacFormItemRight">
                    <input name="code" id="<?php echo $moduleName; ?>_code" type="text" class="validate[required,custom[noSpecialCaracters]] wacFormText DataTD ui-widget-content ui-corner-all" />
                </div>
                <div class="wacFormClear"></div>
            </div>
            <div class="wacFormRow">
                <div class="wacFormItemLeft">生产单号</div>
                <div class="wacFormItemRight">
                    <div id="<?php echo $moduleName; ?>_production_order_id"></div>
                </div>
                <div class="wacFormClear"></div>
            </div>
            <div class="wacFormRow">
                <div class="wacFormItemLeft">织造单号</div>
                <div class="wacFormItemRight">
                    <div id="<?php echo $moduleName; ?>_weave_order_id"></div>
                </div>
                <div class="wacFormClear"></div>
            </div>
            <div class="wacFormRow">
                <div class="wacFormItemLeft">货物分类</div>
                <div class="wacFormItemRight">
                    <div id="<?php echo $moduleName; ?>_goods_id"></div>
                </div>
                <div class="wacFormClear"></div>
            </div>
            <div class="wacFormRow">
                <div class="wacFormItemLeft">布匹检查长度</div>
                <div class="wacFormItemRight">
                     <input name="check_length" id="<?php echo $moduleName ?>_check_length" type="text" class="validate[required,custom[onlyDigit] wacFormText ui-widget-content ui-corner-all" />
                </div>
                <div class="wacFormClear"></div>
            </div>
            <div class="wacFormRow">
                <div class="wacFormItemLeft">布匹检查单位</div>
                <div class="wacFormItemRight">
                    <select name="check_length_unit_code" id="<?php echo $moduleName; ?>_check_length_unit_code" style="width: 195px">
                        <option></option>
                    </select>
                </div>
                <div class="wacFormClear"></div>
            </div>
            <div class="wacFormRow">
                <div class="wacFormItemLeft">QC日期</div>
                <div class="wacFormItemRight">
                    <input name="qc_date" id="<?php echo $moduleName; ?>_qc_date" type="text" class="validate[required,custom[date]] wacFormText ui-widget-content ui-corner-all" />
                </div>
                <div class="wacFormClear"></div>
            </div>
        </div>
    </div>
    <div class="wacFormSecondCol" style="margin-right: 1px; margin-left: -35px; width:320px;">
        <h3>&nbsp;</h3>
        <div class="wacFormContentA">
            <div class="wacFormRow">
                <div class="wacFormItemPeer">
                    <label for="<?php echo $moduleName; ?>_color_check_memo">颜色检测</label>
                    <input name="color_check" id="<?php echo $moduleName; ?>_color_check" checked="true" value="1" type="checkbox" class="ui-widget-content ui-corner-all" />
                </div>
                <div class="wacFormItemPeer">
                    <label for="<?php echo $moduleName; ?>_color_check">备注</label>
                    <textarea name="color_check_memo" id="<?php echo $moduleName; ?>_color_check_memo" class="ui-widget-content ui-corner-all" cols="15" rows="2"></textarea>
                </div>
                <div class="wacFormClear"></div>
            </div>
            <div class="wacFormRow">
                <div class="wacFormItemPeer">
                    <label for="<?php echo $moduleName; ?>_style_check_memo">风格检测</label>
                    <input name="style_check" id="<?php echo $moduleName; ?>_style_check" checked="true" value="1" type="checkbox" class="ui-widget-content ui-corner-all" />
                </div>
                <div class="wacFormItemPeer">
                    <label for="<?php echo $moduleName; ?>_style_check">备注</label>
                    <textarea name="style_check_memo" id="<?php echo $moduleName; ?>_style_check_memo" class="ui-widget-content ui-corner-all" cols="15" rows="2"></textarea>
                </div>
                <div class="wacFormClear"></div>
            </div>
            <div class="wacFormRow">
                <div class="wacFormItemPeer">
                    <label for="<?php echo $moduleName; ?>_axis_aberration_check_memo">轴间色差检测</label>
                    <input name="axis_aberration_check" id="<?php echo $moduleName; ?>_axis_aberration_check" checked="true" value="1" type="checkbox" class="ui-widget-content ui-corner-all" />
                </div>
                <div class="wacFormItemPeer">
                    <label for="<?php echo $moduleName; ?>_axis_aberration_check">备注</label>
                    <textarea name="axis_aberration_check_memo" id="<?php echo $moduleName; ?>_axis_aberration_check_memo" class="ui-widget-content ui-corner-all" cols="15" rows="2"></textarea>
                </div>
                <div class="wacFormClear"></div>
            </div>
            <div class="wacFormRow">
                <div class="wacFormItemLeft">&nbsp;</div>
                <div class="wacFormItemRight">
                    &nbsp;
                </div>
                <div class="wacFormClear"></div>
            </div>

        </div>

    </div>

    <div class="wacFormThirdCol" style="margin-right: 1px; margin-left: -35px;">
        <h3>&nbsp;</h3>
        <div class="wacFormRow">
            <div class="wacFormItemPeer">
                <label for="<?php echo $moduleName; ?>_is_thick_warp_yarn">粗经检测</label>
                <input name="is_thick_warp_yarn" id="<?php echo $moduleName; ?>_is_thick_warp_yarn" checked="true" value="1" type="checkbox" class="ui-widget-content ui-corner-all" />
            </div>
            <div class="wacFormItemPeer">
                <label for="<?php echo $moduleName; ?>_is_thick_filling_yarn">粗纬检测</label>
                <input name="is_thick_filling_yarn" id="<?php echo $moduleName; ?>_is_thick_filling_yarn" checked="true" value="1" type="checkbox" class="ui-widget-content ui-corner-all" />
            </div>
            <div class="wacFormClear"></div>
        </div>
        <div class="wacFormRow">
            <div class="wacFormItemPeer">
                <label for="<?php echo $moduleName; ?>_is_white_spot">布面白星</label>
                <input name="is_white_spot" id="<?php echo $moduleName; ?>_is_white_spot" checked="true" value="1" type="checkbox" class="ui-widget-content ui-corner-all" />
            </div>
            <div class="wacFormItemPeer">
                <label for="<?php echo $moduleName; ?>_is_black_spot">布底黑毛粒</label>
                <input name="is_black_spot" id="<?php echo $moduleName; ?>_is_black_spot" checked="true" value="1" type="checkbox" class="ui-widget-content ui-corner-all" />
            </div>
            <div class="wacFormClear"></div>
        </div>
        <div class="wacFormRow">
            <div class="wacFormItemPeer">
                <label for="<?php echo $moduleName; ?>_is_exception">异常</label>
                <input name="is_exception" id="<?php echo $moduleName; ?>_is_exception" checked="true" value="1" type="checkbox" class="ui-widget-content ui-corner-all" />
            </div>
            <div class="wacFormItemPeer">
                <label for="<?php echo $moduleName; ?>_check_point7">结头</label>
                <input name="check_point7" id="<?php echo $moduleName; ?>_check_point7" checked="true" value="1" type="checkbox" class="ui-widget-content ui-corner-all" />
            </div>
            <div class="wacFormClear"></div>
        </div>
        <div class="wacFormRow">
            <div class="wacFormItemPeer">
                <label for="<?php echo $moduleName; ?>_check_point1">松紧经</label>
                <input name="check_point1" id="<?php echo $moduleName; ?>_check_point1" checked="true" value="1" type="checkbox" class="ui-widget-content ui-corner-all" />
            </div>
            <div class="wacFormItemPeer">
                <label for="<?php echo $moduleName; ?>_check_point2">紧纬</label>
                <input name="check_point2" id="<?php echo $moduleName; ?>_check_point2" checked="true" value="1" type="checkbox" class="ui-widget-content ui-corner-all" />
            </div>
            <div class="wacFormClear"></div>
        </div>
        <div class="wacFormRow">
            <div class="wacFormItemPeer">
                <label for="<?php echo $moduleName; ?>_check_point3">纱档</label>
                <input name="check_point3" id="<?php echo $moduleName; ?>_check_point3" checked="true" value="1" type="checkbox" class="ui-widget-content ui-corner-all" />
            </div>
            <div class="wacFormItemPeer">
                <label for="<?php echo $moduleName; ?>_check_point4">稀密路</label>
                <input name="check_point4" id="<?php echo $moduleName; ?>_check_point4" checked="true" value="1" type="checkbox" class="ui-widget-content ui-corner-all" />
            </div>
            <div class="wacFormClear"></div>
        </div>
        <div class="wacFormRow">
            <div class="wacFormItemPeer">
                <label for="<?php echo $moduleName; ?>_check_point5">破洞</label>
                <input name="check_point5" id="<?php echo $moduleName; ?>_check_point5" checked="true" value="1" type="checkbox" class="ui-widget-content ui-corner-all" />
            </div>
            <div class="wacFormItemPeer">
                <label for="<?php echo $moduleName; ?>_check_point6">蛛网</label>
                <input name="check_point6" id="<?php echo $moduleName; ?>_check_point6" checked="true" value="1" type="checkbox" class="ui-widget-content ui-corner-all" />
            </div>
            <div class="wacFormClear"></div>
        </div>
    </div>
    
    <div class="wacFormClear"></div>
    <div class="wacFormBottom" align="center">

        <hr class="wacFormRuler" style="width:850px; float:inherit;" />
        <div class="wacFormRow">
            <div class="wacFormItemLeft">备注</div>
            <div class="wacFormItemRight">
                <textarea name="memo" id="<?php echo $moduleName; ?>_memo" class="ui-widget-content ui-corner-all" cols="108" rows="4"></textarea></div>
            <div class="wacFormClear"></div>
        </div>
        <div class="wacFormClear"></div>
        <input name="btnSubmit" id="<?php echo $moduleName; ?>_btnSubmit" class="ui-button ui-state-default ui-corner-all wacCursor" type="button" value="提交" />
        &nbsp;&nbsp;
        <input name="btnClose" id="<?php echo $moduleName; ?>_btnClose" class="ui-button ui-state-default ui-corner-all wacCursor" type="button" value="关闭" />
    </div>

    <input type="hidden" name="id" id="<?php echo $moduleName; ?>_id" value="0">
</form>
<!-- form, end-->
<?php echo "</div>"; ?>